package cn.tedu.shanghai.controller;

import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sh")
public class ShangHaiController {

    @RequestMapping("/show")
    public String show(@RequestHeader("Request-color") String color,Integer age){
        return "欢迎来到上海~~"+color+age;
    }
}
